#!/bin/bash

# 创建服务器环境变量文件
cat > server/.env << 'EOF'
# Server Configuration
PORT=3000
NODE_ENV=development

# Polygon Configuration
POLYGON_AMOY_RPC_URL=https://rpc-amoy.polygon.technology
RHS_URL=https://rhs-staging.polygonid.com

# Storage Paths
CIRCUITS_PATH=./circuits
DATA_STORAGE_PATH=./data

# Verifiable Credentials
STATUS_LIST_BASE_URL=http://localhost:3000/api/status
EOF

echo "服务器环境变量文件创建完成: server/.env" 